package com.example.book_shop_java.bean;

public class Notices {
    private int id;
    private String topic;
    private String username;
    private String timeOut;
    private String context;

    public Notices(){

    }

    public int getId() {
        return id;
    }

    public String getTopic() {
        return topic;
    }

    public String getUsername() {
        return username;
    }

    public String getTimeOut() {
        return timeOut;
    }

    public String getContext() {
        return context;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setTimeOut(String timeOut) {
        this.timeOut = timeOut;
    }

    public void setContext(String context) {
        this.context = context;
    }

    @Override
    public String toString() {
        return "Notices{" +
                "id=" + id +
                ", topic='" + topic + '\'' +
                ", username='" + username + '\'' +
                ", timeOut='" + timeOut + '\'' +
                ", context='" + context + '\'' +
                '}';
    }
}

